package net.starwifi.duobao.entity;

import com.fasterxml.jackson.annotation.JsonProperty;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * 反馈意见
 * Created by Administrator on 2015/9/28.
 */
@Entity
@Table(name = "duob_feedback")
@SequenceGenerator(name = "sequenceGenerator", sequenceName = "duob_feedback_sequence")
public class Feedback extends BaseEntity {

    private String content;

    private Long memberId;

    private String mobile;

    private Integer cat;

    private Boolean isRead;

    @Column
    @JsonProperty
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Column
    @JsonProperty
    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    @Column
    @JsonProperty
    public Boolean getIsRead() {
        return isRead;
    }

    public void setIsRead(Boolean isRead) {
        this.isRead = isRead;
    }

    @Column
    @JsonProperty
    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    @Column
    @JsonProperty
    public Integer getCat() {
        return cat;
    }

    public void setCat(Integer cat) {
        this.cat = cat;
    }
}
